<template>
    <div class="RecommendItem">
        <a class="a" :href="recommend.link">
            <img :src="recommend.image" width="70px" height="70px" class="img">
            <div class="link">{{recommend.title}}</div>
        </a>
    </div>
</template>

<script>
    export default {
        name: "RecommendItem",
        props: {
            recommend: {
                type: Object,
                default() {
                    return {}
                }
            }
        }
    }
</script>

<style>
    .RecommendItem {
        flex: 1;
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: 15px;
    }
    .img{
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
</style>